package com.scau402.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.scau402.common.annotation.Excel;
import com.scau402.common.core.domain.BaseEntity;

/**
 * 客户资料对象 wms_basic_client
 * 
 * @author ruoyi
 * @date 2023-06-26
 */
public class WmsBasicClient extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    /** 借货名义 */
    private String lendName;

    /** 是否设置借货额度 */
    private String isLimited;

    /** 经办人姓名 */
    private String transactorName;

    /** 经办人身份证号码 */
    private String transactorIdcard;


    /** 经办人手机号码 */
    private String transactorPhone;


    /** 客户资料id */
    private Long id;

    /** 客户类型（0卖手 1直播间 2其他） */
    @Excel(name = "客户类型", readConverterExp = "0=卖手,1=直播间,2=其他")
    private String clientType;

    /** 客户编码 */
    @Excel(name = "客户编码")
    private String clientCode;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String clientName;

    /** 直播间ID */
    @Excel(name = "直播间ID")
    private Long studioId;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contactPerson;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String telephone;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 借货额度（元） */
    @Excel(name = "借货额度", readConverterExp = "元=")
    private BigDecimal lendMoneyLimit;

    /** 借货额度（件） */
    @Excel(name = "借货额度", readConverterExp = "件=")
    private Long lendAmountLimit;

    /** 已借额度（元） */
    @Excel(name = "已借额度", readConverterExp = "元=")
    private BigDecimal lendMoney;

    /** 已借额度（件） */
    @Excel(name = "已借额度", readConverterExp = "件=")
    private Long lendAmount;

    /** 提成方式 */
    @Excel(name = "提成方式")
    private String commissionType;

    /** 提成比率 */
    @Excel(name = "提成比率")
    private BigDecimal commissionRatio;

    /** 还货期限（天） */
    @Excel(name = "还货期限", readConverterExp = "天=")
    private Long returnDayLimit;

    /** 结算方式 */
    @Excel(name = "结算方式")
    private String settlementType;

    /** 结算比率 */
    @Excel(name = "结算比率")
    private BigDecimal settlementRatio;

    /** 状态（0启用 1停用） */
    @Excel(name = "状态", readConverterExp = "0=启用,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 租户ID */
    @Excel(name = "租户ID")
    private Long tenantId;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setClientType(String clientType) 
    {
        this.clientType = clientType;
    }

    public String getClientType() 
    {
        return clientType;
    }
    public void setClientCode(String clientCode) 
    {
        this.clientCode = clientCode;
    }

    public String getClientCode() 
    {
        return clientCode;
    }
    public void setClientName(String clientName) 
    {
        this.clientName = clientName;
    }

    public String getClientName() 
    {
        return clientName;
    }
    public void setStudioId(Long studioId) 
    {
        this.studioId = studioId;
    }

    public Long getStudioId() 
    {
        return studioId;
    }
    public void setContactPerson(String contactPerson) 
    {
        this.contactPerson = contactPerson;
    }

    public String getContactPerson() 
    {
        return contactPerson;
    }
    public void setTelephone(String telephone) 
    {
        this.telephone = telephone;
    }

    public String getTelephone() 
    {
        return telephone;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setLendMoneyLimit(BigDecimal lendMoneyLimit) 
    {
        this.lendMoneyLimit = lendMoneyLimit;
    }

    public BigDecimal getLendMoneyLimit() 
    {
        return lendMoneyLimit;
    }
    public void setLendAmountLimit(Long lendAmountLimit) 
    {
        this.lendAmountLimit = lendAmountLimit;
    }

    public Long getLendAmountLimit() 
    {
        return lendAmountLimit;
    }
    public void setLendMoney(BigDecimal lendMoney) 
    {
        this.lendMoney = lendMoney;
    }

    public BigDecimal getLendMoney() 
    {
        return lendMoney;
    }
    public void setLendAmount(Long lendAmount) 
    {
        this.lendAmount = lendAmount;
    }

    public Long getLendAmount() 
    {
        return lendAmount;
    }
    public void setCommissionType(String commissionType) 
    {
        this.commissionType = commissionType;
    }

    public String getCommissionType() 
    {
        return commissionType;
    }
    public void setCommissionRatio(BigDecimal commissionRatio) 
    {
        this.commissionRatio = commissionRatio;
    }

    public BigDecimal getCommissionRatio() 
    {
        return commissionRatio;
    }
    public void setReturnDayLimit(Long returnDayLimit) 
    {
        this.returnDayLimit = returnDayLimit;
    }

    public Long getReturnDayLimit() 
    {
        return returnDayLimit;
    }
    public void setSettlementType(String settlementType) 
    {
        this.settlementType = settlementType;
    }

    public String getSettlementType() 
    {
        return settlementType;
    }
    public void setSettlementRatio(BigDecimal settlementRatio) 
    {
        this.settlementRatio = settlementRatio;
    }

    public BigDecimal getSettlementRatio() 
    {
        return settlementRatio;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setTenantId(Long tenantId) 
    {
        this.tenantId = tenantId;
    }

    public Long getTenantId() 
    {
        return tenantId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    public String getLendName() {
        return lendName;
    }

    public void setLendName(String lendName) {
        this.lendName = lendName;
    }

    public String getIsLimited() {
        return isLimited;
    }

    public void setIsLimited(String isLimited) {
        this.isLimited = isLimited;
    }

    public String getTransactorName() {
        return transactorName;
    }

    public void setTransactorName(String transactorName) {
        this.transactorName = transactorName;
    }

    public String getTransactorIdcard() {
        return transactorIdcard;
    }

    public void setTransactorIdcard(String transactorIdcard) {
        this.transactorIdcard = transactorIdcard;
    }

    public String getTransactorPhone() {
        return transactorPhone;
    }

    public void setTransactorPhone(String transcatorPhone) {
        this.transactorPhone = transcatorPhone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("clientType", getClientType())
            .append("clientCode", getClientCode())
            .append("clientName", getClientName())
            .append("studioId", getStudioId())
            .append("contactPerson", getContactPerson())
            .append("telephone", getTelephone())
            .append("address", getAddress())
            .append("lendMoneyLimit", getLendMoneyLimit())
            .append("lendAmountLimit", getLendAmountLimit())
            .append("lendMoney", getLendMoney())
            .append("lendAmount", getLendAmount())
            .append("commissionType", getCommissionType())
            .append("commissionRatio", getCommissionRatio())
            .append("returnDayLimit", getReturnDayLimit())
            .append("settlementType", getSettlementType())
            .append("settlementRatio", getSettlementRatio())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .append("tenantId", getTenantId())
            .append("deptId", getDeptId())
            .toString();
    }
}
